package com.tz.online.entity;

import java.util.List;

public class Pageing {
	private List<Book> books ;     //分页集合
	private int pageNow;   //当前页
	private int pageSize;  //每页显示多少数据
	private int pageCount;  //总共有多少页
	private int rowCount;   //总共有多少数据
	private List<Order> orders;
	private List<Address> as;
	
	public int getPageNow() {
		return pageNow;
	}
	public void setPageNow(int pageNow) {
		this.pageNow = pageNow;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	public int getPageCount() {
		return pageCount;
	}
	public void setPageCount(int pageCount) {
		this.pageCount = pageCount;
	}
	public int getRowCount() {
		return rowCount;
	}
	public void setRowCount(int rowCount) {
		this.rowCount = rowCount;
	}
	public List<Book> getBooks() {
		return books;
	}
	public void setBooks(List<Book> books) {
		this.books = books;
	}
	public List<Order> getOrders() {
		return orders;
	}
	public void setOrders(List<Order> orders) {
		this.orders = orders;
	}
	public List<Address> getAs() {
		return as;
	}
	public void setAs(List<Address> as) {
		this.as = as;
	}
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("Pageing [books=");
		builder.append(books);
		builder.append(", pageNow=");
		builder.append(pageNow);
		builder.append(", pageSize=");
		builder.append(pageSize);
		builder.append(", pageCount=");
		builder.append(pageCount);
		builder.append(", rowCount=");
		builder.append(rowCount);
		builder.append(", orders=");
		builder.append(orders);
		builder.append(", as=");
		builder.append(as);
		builder.append("]");
		return builder.toString();
	}
	

}
